package work.service;


import work.pojo.User;

public interface UserService{
    boolean exist(String name);

    boolean register(User user);

    User login(String username, String password);

    boolean active(String code);
}
